#include"queue.h"
int main()
{
	queue q;
	queueinit(&q);
	queuepush(&q, 1);
	queuepush(&q, 2);
	queuepush(&q, 3);
	queuepush(&q, 4);
	while (!queueempty(&q))
	{
		printf("%d ",queuefront(&q));
		queuepop(&q);
	}
	printf("\n");
	return 0;
}